FROM influxdb:1.8.9

WORKDIR /docker-entrypoint-initdb.d
ENV LANG=C.UTF-8
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime 
ADD init.sh .
ADD influxdb.conf /etc/influxdb.conf
RUN cd ~

EXPOSE 8086
